package gobeshona;

import java.util.logging.Logger;

import gobeshona.emails.GobeshonaEmailsResource;
import gobeshona.gdata.GDataTestResource;

import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Redirector;
import org.restlet.routing.Router;

import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;

public class RestletMain extends Application {
	private static final Logger log = Logger.getLogger(RestletMain.class.getName());
		@Override
		public synchronized Restlet createRoot() {

			Router router = new Router(getContext());
			
			router.attach("/gdata/test/", GDataTestResource.class); //Supply input data using file
			
			
			return router;
		}
}
